<?php
/* @var $this AvaliacaoDiariaController */
/* @var $model AvaliacaoDiaria */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'avaliacao-diaria-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<div class="row">
		<?php echo '<b>Texto: </b>'. $form->textField($model,'texto',array('size'=>60,'maxlength'=>250, 'class'=>'span6','maxlength'=>250)); ?>
		<?php echo $form->error($model,'texto'); ?>
	</div>
<br/>
	<div align="center" class="form-actions">
	<?php $this->widget('bootstrap.widgets.TbButton', array(
			'buttonType'=>'submit',
			'type'=>'primary',
			'label'=>$model->isNewRecord ? 'Cadastrar' : 'Salvar',
		)); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->